projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da6666
)
(flyspell-mode-on): Use
author
Karl Heuer
<kwzh@gnu.org>
Tue, 9 Mar 1999 03:29:04 +0000
(
03:29
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 9 Mar 1999 03:29:04 +0000
(
03:29
+0000)
change-major-mode-hook.
lisp/textmodes/flyspell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/flyspell.el
b/lisp/textmodes/flyspell.el
index 44664b01938f0805929dccd152cd2c02b3db5258..5daafc66368a24fc78582a85ac4b0456b6823725 100644
(file)
--- a/
lisp/textmodes/flyspell.el
+++ b/
lisp/textmodes/flyspell.el
@@
-359,6
+359,8
@@
flyspell-buffer checks the whole buffer."
'(lambda ()
(if (and flyspell-multi-language-p ispell-process)
(ispell-kill-ispell t))))
+ (make-local-hook 'change-major-mode-hook)
+ (add-hook 'change-major-mode-hook 'flyspell-mode-off)
;; we end with the flyspell hooks
(run-hooks 'flyspell-mode-hook))